home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_ORBit.idb / usr / freeware / include / ORBitservices / CosNaming.h.z / CosNaming.h
Encoding:
C/C++ Source or Header  |  1999-07-16  |  28.5 KB  |  540 lines

  1. /*
  2.  * This file was generated by orbit-idl - DO NOT EDIT!
  3.  */
  4.  
  5. #include <glib.h>
  6. #define ORBIT_IDL_SERIAL 9
  7. #include <orb/orbit.h>
  8.  
  9. #ifndef CosNaming_H
  10. #define CosNaming_H 1
  11. #ifdef __cplusplus
  12. extern "C" {
  13. #endif /* __cplusplus */
  14.  
  15.  
  16. /** typedefs **/
  17. #if !defined(_CosNaming_Istring_defined)
  18. #define _CosNaming_Istring_defined 1
  19. typedef CORBA_char * CosNaming_Istring;
  20. #if !defined(TC_IMPL_TC_CosNaming_Istring)
  21. #define TC_IMPL_TC_CosNaming_Istring ORBIT_FILE_ID_CosNaming
  22. extern const struct CORBA_TypeCode_struct TC_CosNaming_Istring_struct;
  23. #define TC_CosNaming_Istring (&TC_CosNaming_Istring_struct)
  24. #endif
  25. #define CosNaming_Istring__free CORBA_string__free
  26. #endif
  27. #if !defined(_CosNaming_NameComponent_defined)
  28. #define _CosNaming_NameComponent_defined 1
  29. typedef struct {
  30. CosNaming_Istring id;
  31. CosNaming_Istring kind;
  32. } CosNaming_NameComponent;
  33.  
  34. #if !defined(TC_IMPL_TC_CosNaming_NameComponent)
  35. #define TC_IMPL_TC_CosNaming_NameComponent ORBIT_FILE_ID_CosNaming
  36. extern const struct CORBA_TypeCode_struct TC_CosNaming_NameComponent_struct;
  37. #define TC_CosNaming_NameComponent (&TC_CosNaming_NameComponent_struct)
  38. #endif
  39. extern CosNaming_NameComponent* CosNaming_NameComponent__alloc(void);
  40. extern gpointer CosNaming_NameComponent__free(gpointer mem, gpointer dat, CORBA_boolean free_strings); /* ORBit internal use */
  41. #endif
  42. #if !defined(ORBIT_DECL_CORBA_sequence_CosNaming_NameComponent) && !defined(_CORBA_sequence_CosNaming_NameComponent_defined)
  43. #define ORBIT_DECL_CORBA_sequence_CosNaming_NameComponent 1
  44. #define _CORBA_sequence_CosNaming_NameComponent_defined 1
  45. #define ORBIT_IMPL_CORBA_sequence_CosNaming_NameComponent ORBIT_FILE_ID_CosNaming
  46. typedef struct { CORBA_unsigned_long _maximum, _length; CosNaming_NameComponent* _buffer; CORBA_boolean _release; } CORBA_sequence_CosNaming_NameComponent;
  47. #if !defined(TC_IMPL_TC_CORBA_sequence_CosNaming_NameComponent)
  48. #define TC_IMPL_TC_CORBA_sequence_CosNaming_NameComponent ORBIT_FILE_ID_CosNaming
  49. extern const struct CORBA_TypeCode_struct TC_CORBA_sequence_CosNaming_NameComponent_struct;
  50. #define TC_CORBA_sequence_CosNaming_NameComponent (&TC_CORBA_sequence_CosNaming_NameComponent_struct)
  51. #endif
  52. extern CORBA_sequence_CosNaming_NameComponent* CORBA_sequence_CosNaming_NameComponent__alloc(void);
  53. extern gpointer CORBA_sequence_CosNaming_NameComponent__free(gpointer mem, gpointer dat, CORBA_boolean free_strings); /* ORBit internal use */
  54. CosNaming_NameComponent *CORBA_sequence_CosNaming_NameComponent_allocbuf(CORBA_unsigned_long len);
  55. #endif
  56. #if !defined(_CosNaming_Name_defined)
  57. #define _CosNaming_Name_defined 1
  58. typedef CORBA_sequence_CosNaming_NameComponent CosNaming_Name;
  59. #if !defined(TC_IMPL_TC_CosNaming_Name)
  60. #define TC_IMPL_TC_CosNaming_Name ORBIT_FILE_ID_CosNaming
  61. extern const struct CORBA_TypeCode_struct TC_CosNaming_Name_struct;
  62. #define TC_CosNaming_Name (&TC_CosNaming_Name_struct)
  63. #endif
  64. extern CosNaming_Name* CosNaming_Name__alloc(void);
  65. extern gpointer CosNaming_Name__free(gpointer mem, gpointer dat, CORBA_boolean free_strings); /* ORBit internal use */
  66. #endif
  67. #if !defined(_CosNaming_BindingType_defined)
  68. #define _CosNaming_BindingType_defined 1
  69. typedef enum {
  70.   CosNaming_nobject,
  71.   CosNaming_ncontext
  72. } CosNaming_BindingType;
  73. #if !defined(TC_IMPL_TC_CosNaming_BindingType)
  74. #define TC_IMPL_TC_CosNaming_BindingType ORBIT_FILE_ID_CosNaming
  75. extern const struct CORBA_TypeCode_struct TC_CosNaming_BindingType_struct;
  76. #define TC_CosNaming_BindingType (&TC_CosNaming_BindingType_struct)
  77. #endif
  78. #endif
  79. #if !defined(_CosNaming_Binding_defined)
  80. #define _CosNaming_Binding_defined 1
  81. typedef struct {
  82. CosNaming_Name binding_name;
  83. CosNaming_BindingType binding_type;
  84. } CosNaming_Binding;
  85.  
  86. #if !defined(TC_IMPL_TC_CosNaming_Binding)
  87. #define TC_IMPL_TC_CosNaming_Binding ORBIT_FILE_ID_CosNaming
  88. extern const struct CORBA_TypeCode_struct TC_CosNaming_Binding_struct;
  89. #define TC_CosNaming_Binding (&TC_CosNaming_Binding_struct)
  90. #endif
  91. extern CosNaming_Binding* CosNaming_Binding__alloc(void);
  92. extern gpointer CosNaming_Binding__free(gpointer mem, gpointer dat, CORBA_boolean free_strings); /* ORBit internal use */
  93. #endif
  94. #if !defined(ORBIT_DECL_CORBA_sequence_CosNaming_Binding) && !defined(_CORBA_sequence_CosNaming_Binding_defined)
  95. #define ORBIT_DECL_CORBA_sequence_CosNaming_Binding 1
  96. #define _CORBA_sequence_CosNaming_Binding_defined 1
  97. #define ORBIT_IMPL_CORBA_sequence_CosNaming_Binding ORBIT_FILE_ID_CosNaming
  98. typedef struct { CORBA_unsigned_long _maximum, _length; CosNaming_Binding* _buffer; CORBA_boolean _release; } CORBA_sequence_CosNaming_Binding;
  99. #if !defined(TC_IMPL_TC_CORBA_sequence_CosNaming_Binding)
  100. #define TC_IMPL_TC_CORBA_sequence_CosNaming_Binding ORBIT_FILE_ID_CosNaming
  101. extern const struct CORBA_TypeCode_struct TC_CORBA_sequence_CosNaming_Binding_struct;
  102. #define TC_CORBA_sequence_CosNaming_Binding (&TC_CORBA_sequence_CosNaming_Binding_struct)
  103. #endif
  104. extern CORBA_sequence_CosNaming_Binding* CORBA_sequence_CosNaming_Binding__alloc(void);
  105. extern gpointer CORBA_sequence_CosNaming_Binding__free(gpointer mem, gpointer dat, CORBA_boolean free_strings); /* ORBit internal use */
  106. CosNaming_Binding *CORBA_sequence_CosNaming_Binding_allocbuf(CORBA_unsigned_long len);
  107. #endif
  108. #if !defined(_CosNaming_BindingList_defined)
  109. #define _CosNaming_BindingList_defined 1
  110. typedef CORBA_sequence_CosNaming_Binding CosNaming_BindingList;
  111. #if !defined(TC_IMPL_TC_CosNaming_BindingList)
  112. #define TC_IMPL_TC_CosNaming_BindingList ORBIT_FILE_ID_CosNaming
  113. extern const struct CORBA_TypeCode_struct TC_CosNaming_BindingList_struct;
  114. #define TC_CosNaming_BindingList (&TC_CosNaming_BindingList_struct)
  115. #endif
  116. extern CosNaming_BindingList* CosNaming_BindingList__alloc(void);
  117. extern gpointer CosNaming_BindingList__free(gpointer mem, gpointer dat, CORBA_boolean free_strings); /* ORBit internal use */
  118. #endif
  119. #if !defined(ORBIT_DECL_CosNaming_BindingIterator) && !defined(_CosNaming_BindingIterator_defined)
  120. #define ORBIT_DECL_CosNaming_BindingIterator 1
  121. #define _CosNaming_BindingIterator_defined 1
  122. #define CosNaming_BindingIterator__free CORBA_Object__free
  123. typedef CORBA_Object CosNaming_BindingIterator;
  124. extern CORBA_unsigned_long CosNaming_BindingIterator__classid;
  125. #endif
  126. #if !defined(ORBIT_DECL_CosNaming_NamingContext) && !defined(_CosNaming_NamingContext_defined)
  127. #define ORBIT_DECL_CosNaming_NamingContext 1
  128. #define _CosNaming_NamingContext_defined 1
  129. #define CosNaming_NamingContext__free CORBA_Object__free
  130. typedef CORBA_Object CosNaming_NamingContext;
  131. extern CORBA_unsigned_long CosNaming_NamingContext__classid;
  132. #endif
  133. #if !defined(_CosNaming_NamingContext_NotFoundReason_defined)
  134. #define _CosNaming_NamingContext_NotFoundReason_defined 1
  135. typedef enum {
  136.   CosNaming_NamingContext_missing_node,
  137.   CosNaming_NamingContext_not_context,
  138.   CosNaming_NamingContext_not_object
  139. } CosNaming_NamingContext_NotFoundReason;
  140. #if !defined(TC_IMPL_TC_CosNaming_NamingContext_NotFoundReason)
  141. #define TC_IMPL_TC_CosNaming_NamingContext_NotFoundReason ORBIT_FILE_ID_CosNaming
  142. extern const struct CORBA_TypeCode_struct TC_CosNaming_NamingContext_NotFoundReason_struct;
  143. #define TC_CosNaming_NamingContext_NotFoundReason (&TC_CosNaming_NamingContext_NotFoundReason_struct)
  144. #endif
  145. #endif
  146. #define ex_CosNaming_NamingContext_NotFound "IDL:omg.org/CosNaming/NamingContext/NotFound:1.0"
  147. void _ORBIT_CosNaming_NamingContext_NotFound_demarshal(GIOPRecvBuffer *_ORBIT_recv_buffer, CORBA_Environment *ev);
  148. void _ORBIT_CosNaming_NamingContext_NotFound_marshal(GIOPSendBuffer *_ORBIT_send_buffer, CORBA_Environment *ev);
  149. #if !defined(_CosNaming_NamingContext_NotFound_defined)
  150. #define _CosNaming_NamingContext_NotFound_defined 1
  151. typedef struct {
  152. CosNaming_NamingContext_NotFoundReason why;
  153. CosNaming_Name rest_of_name;
  154. } CosNaming_NamingContext_NotFound;
  155.  
  156. #if !defined(TC_IMPL_TC_CosNaming_NamingContext_NotFound)
  157. #define TC_IMPL_TC_CosNaming_NamingContext_NotFound ORBIT_FILE_ID_CosNaming
  158. extern const struct CORBA_TypeCode_struct TC_CosNaming_NamingContext_NotFound_struct;
  159. #define TC_CosNaming_NamingContext_NotFound (&TC_CosNaming_NamingContext_NotFound_struct)
  160. #endif
  161. extern CosNaming_NamingContext_NotFound* CosNaming_NamingContext_NotFound__alloc(void);
  162. extern gpointer CosNaming_NamingContext_NotFound__free(gpointer mem, gpointer dat, CORBA_boolean free_strings); /* ORBit internal use */
  163. #endif
  164. #define ex_CosNaming_NamingContext_CannotProceed "IDL:omg.org/CosNaming/NamingContext/CannotProceed:1.0"
  165. void _ORBIT_CosNaming_NamingContext_CannotProceed_demarshal(GIOPRecvBuffer *_ORBIT_recv_buffer, CORBA_Environment *ev);
  166. void _ORBIT_CosNaming_NamingContext_CannotProceed_marshal(GIOPSendBuffer *_ORBIT_send_buffer, CORBA_Environment *ev);
  167. #if !defined(_CosNaming_NamingContext_CannotProceed_defined)
  168. #define _CosNaming_NamingContext_CannotProceed_defined 1
  169. typedef struct {
  170. CosNaming_NamingContext ctx;
  171. CosNaming_Name rest_of_name;
  172. } CosNaming_NamingContext_CannotProceed;
  173.  
  174. #if !defined(TC_IMPL_TC_CosNaming_NamingContext_CannotProceed)
  175. #define TC_IMPL_TC_CosNaming_NamingContext_CannotProceed ORBIT_FILE_ID_CosNaming
  176. extern const struct CORBA_TypeCode_struct TC_CosNaming_NamingContext_CannotProceed_struct;
  177. #define TC_CosNaming_NamingContext_CannotProceed (&TC_CosNaming_NamingContext_CannotProceed_struct)
  178. #endif
  179. extern CosNaming_NamingContext_CannotProceed* CosNaming_NamingContext_CannotProceed__alloc(void);
  180. extern gpointer CosNaming_NamingContext_CannotProceed__free(gpointer mem, gpointer dat, CORBA_boolean free_strings); /* ORBit internal use */
  181. #endif
  182. #define ex_CosNaming_NamingContext_InvalidName "IDL:omg.org/CosNaming/NamingContext/InvalidName:1.0"
  183. void _ORBIT_CosNaming_NamingContext_InvalidName_demarshal(GIOPRecvBuffer *_ORBIT_recv_buffer, CORBA_Environment *ev);
  184. void _ORBIT_CosNaming_NamingContext_InvalidName_marshal(GIOPSendBuffer *_ORBIT_send_buffer, CORBA_Environment *ev);
  185. #if !defined(_CosNaming_NamingContext_InvalidName_defined)
  186. #define _CosNaming_NamingContext_InvalidName_defined 1
  187. typedef struct {
  188.       char _dummy_to_force_nonempty_struct;
  189. } CosNaming_NamingContext_InvalidName;
  190.  
  191. #if !defined(TC_IMPL_TC_CosNaming_NamingContext_InvalidName)
  192. #define TC_IMPL_TC_CosNaming_NamingContext_InvalidName ORBIT_FILE_ID_CosNaming
  193. extern const struct CORBA_TypeCode_struct TC_CosNaming_NamingContext_InvalidName_struct;
  194. #define TC_CosNaming_NamingContext_InvalidName (&TC_CosNaming_NamingContext_InvalidName_struct)
  195. #endif
  196. extern CosNaming_NamingContext_InvalidName* CosNaming_NamingContext_InvalidName__alloc(void);
  197. extern gpointer CosNaming_NamingContext_InvalidName__free(gpointer mem, gpointer dat, CORBA_boolean free_strings); /* ORBit internal use */
  198. #endif
  199. #define ex_CosNaming_NamingContext_AlreadyBound "IDL:omg.org/CosNaming/NamingContext/AlreadyBound:1.0"
  200. void _ORBIT_CosNaming_NamingContext_AlreadyBound_demarshal(GIOPRecvBuffer *_ORBIT_recv_buffer, CORBA_Environment *ev);
  201. void _ORBIT_CosNaming_NamingContext_AlreadyBound_marshal(GIOPSendBuffer *_ORBIT_send_buffer, CORBA_Environment *ev);
  202. #if !defined(_CosNaming_NamingContext_AlreadyBound_defined)
  203. #define _CosNaming_NamingContext_AlreadyBound_defined 1
  204. typedef struct {
  205.       char _dummy_to_force_nonempty_struct;
  206. } CosNaming_NamingContext_AlreadyBound;
  207.  
  208. #if !defined(TC_IMPL_TC_CosNaming_NamingContext_AlreadyBound)
  209. #define TC_IMPL_TC_CosNaming_NamingContext_AlreadyBound ORBIT_FILE_ID_CosNaming
  210. extern const struct CORBA_TypeCode_struct TC_CosNaming_NamingContext_AlreadyBound_struct;
  211. #define TC_CosNaming_NamingContext_AlreadyBound (&TC_CosNaming_NamingContext_AlreadyBound_struct)
  212. #endif
  213. extern CosNaming_NamingContext_AlreadyBound* CosNaming_NamingContext_AlreadyBound__alloc(void);
  214. extern gpointer CosNaming_NamingContext_AlreadyBound__free(gpointer mem, gpointer dat, CORBA_boolean free_strings); /* ORBit internal use */
  215. #endif
  216. #define ex_CosNaming_NamingContext_NotEmpty "IDL:omg.org/CosNaming/NamingContext/NotEmpty:1.0"
  217. void _ORBIT_CosNaming_NamingContext_NotEmpty_demarshal(GIOPRecvBuffer *_ORBIT_recv_buffer, CORBA_Environment *ev);
  218. void _ORBIT_CosNaming_NamingContext_NotEmpty_marshal(GIOPSendBuffer *_ORBIT_send_buffer, CORBA_Environment *ev);
  219. #if !defined(_CosNaming_NamingContext_NotEmpty_defined)
  220. #define _CosNaming_NamingContext_NotEmpty_defined 1
  221. typedef struct {
  222.       char _dummy_to_force_nonempty_struct;
  223. } CosNaming_NamingContext_NotEmpty;
  224.  
  225. #if !defined(TC_IMPL_TC_CosNaming_NamingContext_NotEmpty)
  226. #define TC_IMPL_TC_CosNaming_NamingContext_NotEmpty ORBIT_FILE_ID_CosNaming
  227. extern const struct CORBA_TypeCode_struct TC_CosNaming_NamingContext_NotEmpty_struct;
  228. #define TC_CosNaming_NamingContext_NotEmpty (&TC_CosNaming_NamingContext_NotEmpty_struct)
  229. #endif
  230. extern CosNaming_NamingContext_NotEmpty* CosNaming_NamingContext_NotEmpty__alloc(void);
  231. extern gpointer CosNaming_NamingContext_NotEmpty__free(gpointer mem, gpointer dat, CORBA_boolean free_strings); /* ORBit internal use */
  232. #endif
  233. #if !defined(ORBIT_DECL_CosNaming_BindingIterator) && !defined(_CosNaming_BindingIterator_defined)
  234. #define ORBIT_DECL_CosNaming_BindingIterator 1
  235. #define _CosNaming_BindingIterator_defined 1
  236. #define CosNaming_BindingIterator__free CORBA_Object__free
  237. typedef CORBA_Object CosNaming_BindingIterator;
  238. extern CORBA_unsigned_long CosNaming_BindingIterator__classid;
  239. #endif
  240.  
  241. /** POA structures **/
  242. typedef struct {
  243.   void *_private;
  244. void (*bind)(PortableServer_Servant _servant, CosNaming_Name* n, CORBA_Object obj, CORBA_Environment *ev);
  245. void (*rebind)(PortableServer_Servant _servant, CosNaming_Name* n, CORBA_Object obj, CORBA_Environment *ev);
  246. void (*bind_context)(PortableServer_Servant _servant, CosNaming_Name* n, CosNaming_NamingContext nc, CORBA_Environment *ev);
  247. void (*rebind_context)(PortableServer_Servant _servant, CosNaming_Name* n, CosNaming_NamingContext nc, CORBA_Environment *ev);
  248. CORBA_Object (*resolve)(PortableServer_Servant _servant, CosNaming_Name* n, CORBA_Environment *ev);
  249. void (*unbind)(PortableServer_Servant _servant, CosNaming_Name* n, CORBA_Environment *ev);
  250. CosNaming_NamingContext (*new_context)(PortableServer_Servant _servant, CORBA_Environment *ev);
  251. CosNaming_NamingContext (*bind_new_context)(PortableServer_Servant _servant, CosNaming_Name* n, CORBA_Environment *ev);
  252. void (*destroy)(PortableServer_Servant _servant, CORBA_Environment *ev);
  253. void (*list)(PortableServer_Servant _servant, CORBA_unsigned_long how_many, CosNaming_BindingList** bl, CosNaming_BindingIterator* bi, CORBA_Environment *ev);
  254. } POA_CosNaming_NamingContext__epv;
  255. typedef struct {
  256.   PortableServer_ServantBase__epv *_base_epv;
  257.   POA_CosNaming_NamingContext__epv *CosNaming_NamingContext_epv;
  258. } POA_CosNaming_NamingContext__vepv;
  259. typedef struct {
  260.   void *_private;
  261.   POA_CosNaming_NamingContext__vepv *vepv;
  262. } POA_CosNaming_NamingContext;
  263. extern void POA_CosNaming_NamingContext__init(PortableServer_Servant servant, CORBA_Environment *ev);
  264. extern void POA_CosNaming_NamingContext__fini(PortableServer_Servant servant, CORBA_Environment *ev);
  265. typedef struct {
  266.   void *_private;
  267. CORBA_boolean (*next_one)(PortableServer_Servant _servant, CosNaming_Binding** b, CORBA_Environment *ev);
  268. CORBA_boolean (*next_n)(PortableServer_Servant _servant, CORBA_unsigned_long how_many, CosNaming_BindingList** bl, CORBA_Environment *ev);
  269. void (*destroy)(PortableServer_Servant _servant, CORBA_Environment *ev);
  270. } POA_CosNaming_BindingIterator__epv;
  271. typedef struct {
  272.   PortableServer_ServantBase__epv *_base_epv;
  273.   POA_CosNaming_BindingIterator__epv *CosNaming_BindingIterator_epv;
  274. } POA_CosNaming_BindingIterator__vepv;
  275. typedef struct {
  276.   void *_private;
  277.   POA_CosNaming_BindingIterator__vepv *vepv;
  278. } POA_CosNaming_BindingIterator;
  279. extern void POA_CosNaming_BindingIterator__init(PortableServer_Servant servant, CORBA_Environment *ev);
  280. extern void POA_CosNaming_BindingIterator__fini(PortableServer_Servant servant, CORBA_Environment *ev);
  281.  
  282. /** prototypes **/
  283. void CosNaming_NamingContext_bind(CosNaming_NamingContext _obj, CosNaming_Name* n, CORBA_Object obj, CORBA_Environment *ev);
  284. void CosNaming_NamingContext_rebind(CosNaming_NamingContext _obj, CosNaming_Name* n, CORBA_Object obj, CORBA_Environment *ev);
  285. void CosNaming_NamingContext_bind_context(CosNaming_NamingContext _obj, CosNaming_Name* n, CosNaming_NamingContext nc, CORBA_Environment *ev);
  286. void CosNaming_NamingContext_rebind_context(CosNaming_NamingContext _obj, CosNaming_Name* n, CosNaming_NamingContext nc, CORBA_Environment *ev);
  287. CORBA_Object CosNaming_NamingContext_resolve(CosNaming_NamingContext _obj, CosNaming_Name* n, CORBA_Environment *ev);
  288. void CosNaming_NamingContext_unbind(CosNaming_NamingContext _obj, CosNaming_Name* n, CORBA_Environment *ev);
  289. CosNaming_NamingContext CosNaming_NamingContext_new_context(CosNaming_NamingContext _obj, CORBA_Environment *ev);
  290. CosNaming_NamingContext CosNaming_NamingContext_bind_new_context(CosNaming_NamingContext _obj, CosNaming_Name* n, CORBA_Environment *ev);
  291. void CosNaming_NamingContext_destroy(CosNaming_NamingContext _obj, CORBA_Environment *ev);
  292. void CosNaming_NamingContext_list(CosNaming_NamingContext _obj, CORBA_unsigned_long how_many, CosNaming_BindingList** bl, CosNaming_BindingIterator* bi, CORBA_Environment *ev);
  293. CORBA_boolean CosNaming_BindingIterator_next_one(CosNaming_BindingIterator _obj, CosNaming_Binding** b, CORBA_Environment *ev);
  294. CORBA_boolean CosNaming_BindingIterator_next_n(CosNaming_BindingIterator _obj, CORBA_unsigned_long how_many, CosNaming_BindingList** bl, CORBA_Environment *ev);
  295. void CosNaming_BindingIterator_destroy(CosNaming_BindingIterator _obj, CORBA_Environment *ev);
  296.  
  297. void _ORBIT_skel_CosNaming_NamingContext_bind(POA_CosNaming_NamingContext *_ORBIT_servant, GIOPRecvBuffer *_ORBIT_recv_buffer, CORBA_Environment *ev, void (*_impl_bind)(PortableServer_Servant _servant, CosNaming_Name* n, CORBA_Object obj, CORBA_Environment *ev));
  298. void _ORBIT_skel_CosNaming_NamingContext_rebind(POA_CosNaming_NamingContext *_ORBIT_servant, GIOPRecvBuffer *_ORBIT_recv_buffer, CORBA_Environment *ev, void (*_impl_rebind)(PortableServer_Servant _servant, CosNaming_Name* n, CORBA_Object obj, CORBA_Environment *ev));
  299. void _ORBIT_skel_CosNaming_NamingContext_bind_context(POA_CosNaming_NamingContext *_ORBIT_servant, GIOPRecvBuffer *_ORBIT_recv_buffer, CORBA_Environment *ev, void (*_impl_bind_context)(PortableServer_Servant _servant, CosNaming_Name* n, CosNaming_NamingContext nc, CORBA_Environment *ev));
  300. void _ORBIT_skel_CosNaming_NamingContext_rebind_context(POA_CosNaming_NamingContext *_ORBIT_servant, GIOPRecvBuffer *_ORBIT_recv_buffer, CORBA_Environment *ev, void (*_impl_rebind_context)(PortableServer_Servant _servant, CosNaming_Name* n, CosNaming_NamingContext nc, CORBA_Environment *ev));
  301. void _ORBIT_skel_CosNaming_NamingContext_resolve(POA_CosNaming_NamingContext *_ORBIT_servant, GIOPRecvBuffer *_ORBIT_recv_buffer, CORBA_Environment *ev, CORBA_Object (*_impl_resolve)(PortableServer_Servant _servant, CosNaming_Name* n, CORBA_Environment *ev));
  302. void _ORBIT_skel_CosNaming_NamingContext_unbind(POA_CosNaming_NamingContext *_ORBIT_servant, GIOPRecvBuffer *_ORBIT_recv_buffer, CORBA_Environment *ev, void (*_impl_unbind)(PortableServer_Servant _servant, CosNaming_Name* n, CORBA_Environment *ev));
  303. void _ORBIT_skel_CosNaming_NamingContext_new_context(POA_CosNaming_NamingContext *_ORBIT_servant, GIOPRecvBuffer *_ORBIT_recv_buffer, CORBA_Environment *ev, CosNaming_NamingContext (*_impl_new_context)(PortableServer_Servant _servant, CORBA_Environment *ev));
  304. void _ORBIT_skel_CosNaming_NamingContext_bind_new_context(POA_CosNaming_NamingContext *_ORBIT_servant, GIOPRecvBuffer *_ORBIT_recv_buffer, CORBA_Environment *ev, CosNaming_NamingContext (*_impl_bind_new_context)(PortableServer_Servant _servant, CosNaming_Name* n, CORBA_Environment *ev));
  305. void _ORBIT_skel_CosNaming_NamingContext_destroy(POA_CosNaming_NamingContext *_ORBIT_servant, GIOPRecvBuffer *_ORBIT_recv_buffer, CORBA_Environment *ev, void (*_impl_destroy)(PortableServer_Servant _servant, CORBA_Environment *ev));
  306. void _ORBIT_skel_CosNaming_NamingContext_list(POA_CosNaming_NamingContext *_ORBIT_servant, GIOPRecvBuffer *_ORBIT_recv_buffer, CORBA_Environment *ev, void (*_impl_list)(PortableServer_Servant _servant, CORBA_unsigned_long how_many, CosNaming_BindingList** bl, CosNaming_BindingIterator* bi, CORBA_Environment *ev));
  307. void _ORBIT_skel_CosNaming_BindingIterator_next_one(POA_CosNaming_BindingIterator *_ORBIT_servant, GIOPRecvBuffer *_ORBIT_recv_buffer, CORBA_Environment *ev, CORBA_boolean (*_impl_next_one)(PortableServer_Servant _servant, CosNaming_Binding** b, CORBA_Environment *ev));
  308. void _ORBIT_skel_CosNaming_BindingIterator_next_n(POA_CosNaming_BindingIterator *_ORBIT_servant, GIOPRecvBuffer *_ORBIT_recv_buffer, CORBA_Environment *ev, CORBA_boolean (*_impl_next_n)(PortableServer_Servant _servant, CORBA_unsigned_long how_many, CosNaming_BindingList** bl, CORBA_Environment *ev));
  309. void _ORBIT_skel_CosNaming_BindingIterator_destroy(POA_CosNaming_BindingIterator *_ORBIT_servant, GIOPRecvBuffer *_ORBIT_recv_buffer, CORBA_Environment *ev, void (*_impl_destroy)(PortableServer_Servant _servant, CORBA_Environment *ev));
  310. #ifdef __cplusplus
  311. }
  312. #endif /* __cplusplus */
  313.  
  314. #endif
  315. #undef ORBIT_IDL_SERIAL
  316. #ifndef LNAME_H
  317. #define LNAME_H 1
  318. /*
  319.  * This file was generated by orbit-idl - DO NOT EDIT!
  320.  */
  321.  
  322. #include <glib.h>
  323. #define ORBIT_IDL_SERIAL 9
  324. #include <orb/orbit.h>
  325.  
  326. #include "CosNaming.h"
  327.  
  328. /*
  329.  * This file was generated by orbit-idl - DO NOT EDIT!
  330.  */
  331.  
  332. /* The following lines are added, because LName and LNameComponent are
  333.    pseudo objects, not real ones */
  334. #define _LName_defined
  335. #define _LNameComponent_defined
  336. typedef void* LName;
  337. typedef void* LNameComponent;
  338.  
  339. /* The following 2 functions define the means to get instances of
  340.    those 2 pseudo objects*/
  341. extern LName create_lname(); 
  342. extern LNameComponent create_lname_component();
  343.  
  344. /* The following 3 functions are provided as add-ons by ORBit */
  345. LNameComponent ORBit_string_to_LNameComponent(const CORBA_char* string, 
  346.                           CORBA_Environment * ev);
  347. LName ORBit_string_to_LName(const CORBA_char* string, CORBA_Environment * ev);
  348. CosNaming_Name* ORBit_string_to_CosNaming_Name(const CORBA_char* string, 
  349.                            CORBA_Environment * ev);
  350.  
  351. /* from now on its the original one as generated by orbit-idl */
  352.  
  353. #include <glib.h>
  354. #include <orb/orbit.h>
  355.  
  356. #ifdef __cplusplus
  357. extern "C" {
  358. #endif                /* __cplusplus */
  359.  
  360. /* Begin interface LNameComponent */
  361.  
  362.    /* client-side data structures and methods */
  363. #ifndef _LNameComponent_defined
  364. #define _LNameComponent_defined
  365.  
  366.    typedef CORBA_Object LNameComponent;
  367. #define LNameComponent__free CORBA_Object__free
  368. #endif                /* !_LNameComponent_defined */
  369.  
  370.    extern CORBA_unsigned_long LNameComponent__classid;
  371. #ifndef _LNameComponent_NotSet_defined
  372. #define _LNameComponent_NotSet_defined
  373.  
  374.    typedef struct LNameComponent_NotSet {
  375.     int empty_struct;
  376.    } LNameComponent_NotSet;
  377. #define ex_LNameComponent_NotSet "ex_LNameComponent_NotSet"
  378. #endif                /* !_LNameComponent_NotSet_defined */
  379.  
  380.    extern LNameComponent_NotSet *LNameComponent_NotSet__alloc(void);
  381.    extern gpointer LNameComponent_NotSet__free(gpointer mem, gpointer dat, CORBA_boolean free_strings);        /* ORBit internals */
  382.  
  383.    extern CORBA_char *LNameComponent_get_id(LNameComponent _obj, CORBA_Environment * ev);
  384.  
  385.    extern void LNameComponent_set_id(LNameComponent _obj, CORBA_char * i, CORBA_Environment * ev);
  386.  
  387.    extern CORBA_char *LNameComponent_get_kind(LNameComponent _obj, CORBA_Environment * ev);
  388.  
  389.    extern void LNameComponent_set_kind(LNameComponent _obj, CORBA_char * k, CORBA_Environment * ev);
  390.  
  391.    extern void LNameComponent_destroy(LNameComponent _obj, CORBA_Environment * ev);
  392.  
  393.    /* server-side (via the POA) data structures and methods */
  394. #ifndef _POA_LNameComponent__epv_defined
  395. #define _POA_LNameComponent__epv_defined
  396.  
  397.    typedef struct {
  398.       void *_private;
  399.       CORBA_char *(*get_id) (PortableServer_Servant servant, CORBA_Environment * ev);
  400.       void (*set_id) (PortableServer_Servant servant, CORBA_char * i, CORBA_Environment * ev);
  401.       CORBA_char *(*get_kind) (PortableServer_Servant servant, CORBA_Environment * ev);
  402.       void (*set_kind) (PortableServer_Servant servant, CORBA_char * k, CORBA_Environment * ev);
  403.       void (*destroy) (PortableServer_Servant servant, CORBA_Environment * ev);
  404.    } POA_LNameComponent__epv;
  405. #endif                /* !_POA_LNameComponent__epv_defined */
  406.  
  407. #ifndef _POA_LNameComponent__vepv_defined
  408. #define _POA_LNameComponent__vepv_defined
  409.  
  410.    typedef struct {
  411.       PortableServer_ServantBase__epv *_base_epv;
  412.       POA_LNameComponent__epv *LNameComponent_epv;
  413.    } POA_LNameComponent__vepv;
  414. #endif                /* !_POA_LNameComponent__vepv_defined */
  415.  
  416. #ifndef _POA_LNameComponent_defined
  417. #define _POA_LNameComponent_defined
  418.  
  419.    typedef struct {
  420.       void *_private;
  421.       POA_LNameComponent__vepv *vepv;
  422.    } POA_LNameComponent;
  423. #endif                /* !_POA_LNameComponent_defined */
  424.  
  425.    extern void POA_LNameComponent__init(POA_LNameComponent * servant, CORBA_Environment * ev);
  426.    extern void POA_LNameComponent__fini(POA_LNameComponent * servant, CORBA_Environment * ev);
  427. /* End interface LNameComponent */
  428.  
  429. /* Begin interface LName */
  430.  
  431.    /* client-side data structures and methods */
  432. #ifndef _LName_defined
  433. #define _LName_defined
  434.  
  435.    typedef CORBA_Object LName;
  436. #define LName__free CORBA_Object__free
  437. #endif                /* !_LName_defined */
  438.  
  439.    extern CORBA_unsigned_long LName__classid;
  440. #ifndef _LName_NoComponent_defined
  441. #define _LName_NoComponent_defined
  442.  
  443.    typedef struct LName_NoComponent {
  444.     int empty_struct;
  445.    } LName_NoComponent;
  446. #define ex_LName_NoComponent "ex_LName_NoComponent"
  447. #endif                /* !_LName_NoComponent_defined */
  448.  
  449.    extern LName_NoComponent *LName_NoComponent__alloc(void);
  450.    extern gpointer LName_NoComponent__free(gpointer mem, gpointer dat, CORBA_boolean free_strings);    /* ORBit internals */
  451.  
  452. #ifndef _LName_OverFlow_defined
  453. #define _LName_OverFlow_defined
  454.  
  455.    typedef struct LName_OverFlow {
  456.     int empty_struct;
  457.    } LName_OverFlow;
  458. #define ex_LName_OverFlow "ex_LName_OverFlow"
  459. #endif                /* !_LName_OverFlow_defined */
  460.  
  461.    extern LName_OverFlow *LName_OverFlow__alloc(void);
  462.    extern gpointer LName_OverFlow__free(gpointer mem, gpointer dat, CORBA_boolean free_strings);    /* ORBit internals */
  463.  
  464. #ifndef _LName_InvalidName_defined
  465. #define _LName_InvalidName_defined
  466.  
  467.    typedef struct LName_InvalidName {
  468.     int empty_struct;
  469.    } LName_InvalidName;
  470. #define ex_LName_InvalidName "ex_LName_InvalidName"
  471. #endif                /* !_LName_InvalidName_defined */
  472.  
  473.    extern LName_InvalidName *LName_InvalidName__alloc(void);
  474.    extern gpointer LName_InvalidName__free(gpointer mem, gpointer dat, CORBA_boolean free_strings);    /* ORBit internals */
  475.  
  476.    extern LName LName_insert_component(LName _obj, CORBA_unsigned_long i, LNameComponent n, CORBA_Environment * ev);
  477.  
  478.    extern LNameComponent LName_get_component(LName _obj, CORBA_unsigned_long i, CORBA_Environment * ev);
  479.  
  480.    extern LNameComponent LName_delete_component(LName _obj, CORBA_unsigned_long i, CORBA_Environment * ev);
  481.  
  482.    extern CORBA_unsigned_long LName_num_components(LName _obj, CORBA_Environment * ev);
  483.  
  484.    extern CORBA_boolean LName_equal(LName _obj, LName ln, CORBA_Environment * ev);
  485.  
  486.    extern CORBA_boolean LName_less_than(LName _obj, LName ln, CORBA_Environment * ev);
  487.  
  488.    extern CosNaming_Name *LName_to_idl_form(LName _obj, CORBA_Environment * ev);
  489.  
  490.    extern void LName_from_idl_form(LName _obj, CosNaming_Name * n, CORBA_Environment * ev);
  491.  
  492.    extern void LName_destroy(LName _obj, CORBA_Environment * ev);
  493.  
  494.    /* server-side (via the POA) data structures and methods */
  495. #ifndef _POA_LName__epv_defined
  496. #define _POA_LName__epv_defined
  497.  
  498.    typedef struct {
  499.       void *_private;
  500.        LName(*insert_component) (PortableServer_Servant servant, CORBA_unsigned_long i, LNameComponent n, CORBA_Environment * ev);
  501.        LNameComponent(*get_component) (PortableServer_Servant servant, CORBA_unsigned_long i, CORBA_Environment * ev);
  502.        LNameComponent(*delete_component) (PortableServer_Servant servant, CORBA_unsigned_long i, CORBA_Environment * ev);
  503.        CORBA_unsigned_long(*num_components) (PortableServer_Servant servant, CORBA_Environment * ev);
  504.        CORBA_boolean(*equal) (PortableServer_Servant servant, LName ln, CORBA_Environment * ev);
  505.        CORBA_boolean(*less_than) (PortableServer_Servant servant, LName ln, CORBA_Environment * ev);
  506.       CosNaming_Name *(*to_idl_form) (PortableServer_Servant servant, CORBA_Environment * ev);
  507.       void (*from_idl_form) (PortableServer_Servant servant, CosNaming_Name * n, CORBA_Environment * ev);
  508.       void (*destroy) (PortableServer_Servant servant, CORBA_Environment * ev);
  509.    } POA_LName__epv;
  510. #endif                /* !_POA_LName__epv_defined */
  511.  
  512. #ifndef _POA_LName__vepv_defined
  513. #define _POA_LName__vepv_defined
  514.  
  515.    typedef struct {
  516.       PortableServer_ServantBase__epv *_base_epv;
  517.       POA_LName__epv *LName_epv;
  518.    } POA_LName__vepv;
  519. #endif                /* !_POA_LName__vepv_defined */
  520.  
  521. #ifndef _POA_LName_defined
  522. #define _POA_LName_defined
  523.  
  524.    typedef struct {
  525.       void *_private;
  526.       POA_LName__vepv *vepv;
  527.    } POA_LName;
  528. #endif                /* !_POA_LName_defined */
  529.  
  530.    extern void POA_LName__init(POA_LName * servant, CORBA_Environment * ev);
  531.    extern void POA_LName__fini(POA_LName * servant, CORBA_Environment * ev);
  532. /* End interface LName */
  533.  
  534. #ifdef __cplusplus
  535. }
  536.  
  537. #endif                /* __cplusplus */
  538. #undef ORBIT_IDL_SERIAL
  539. #endif /* LNAME_H */
  540.